package edu.kjxy.day02Synchronized.t3;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/2/1 19:27
 */
public class ThreadA extends Thread{
    private PublicVar publicVar;
    public ThreadA(PublicVar publicVar){
        super();
        this.publicVar = publicVar;
    }

    @Override
    public void run() {
        super.run();
        publicVar.setValue("B","BB");
    }
}
